//
//  SINAStuHomeActiviLeaveModel.m
//  sinashebao
//
//  Created by  androidlongs on 2018/2/11.
//  Copyright © 2018年  androidlongs. All rights reserved.
//  活动留言model

#import "SINAStuHomeActiviLeaveModel.h"

@implementation SINAStuHomeActiviLeaveModel
-(instancetype)initWithDict:(NSDictionary *)result{
    if (self=[super init]) {
        /*
        "createtime": "Feb 28, 2018 11:14:45 AM",
        "headimg": "http://p1yo4p71t.bkt.clouddn.com/1517988597995.jpg",
        "content": "ha ha "
         
         */
        // 用户的头像
        _headerImageUrl= [NSString stringWithFormat:@"%@",result[@"headimg"]];
        _leaveContent= [NSString stringWithFormat:@"%@",result[@"content"]];
        _leaveTime= [NSString stringWithFormat:@"%@",result[@"createtime"]];
        _msgUserUid=result[@"uuid"];
        
    }
    return self;
}
+(instancetype)userWithDict:(NSDictionary *)dict{
    return [[self alloc] initWithDict:dict];
}
@end
